




package com.yinhai.ta404.core.autoconfigure;

public class TaRegexMessageProperties {
    private String regex;
    private String message;

    public TaRegexMessageProperties() {
        this.regex = "^.*$";
        this.message = "";
    }

    public TaRegexMessageProperties(String regex, String message) {
        this.regex = regex;
        this.message = message;
    }

    public String getRegex() {
        return this.regex;
    }

    public void setRegex(final String regex) {
        this.regex = regex;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(final String message) {
        this.message = message;
    }
}
